<?php
/* @var $this MenuItemController */
/* @var $dataProvider CActiveDataProvider */

$this->breadcrumbs=array(
	'Menu Items',
);

$this->menu=array(
	array('label'=>'Create MenuItem', 'url'=>array('create')),
	array('label'=>'Manage MenuItem', 'url'=>array('admin')),
);
?>

<h1>Menu Items</h1>

<?php $this->widget('zii.widgets.CListView', array(
	'dataProvider'=>$dataProvider,
	'itemView'=>'_view',
)); ?>
<?php //get the menu with id #2
echo '<pre>';print_r($this);
/*
$items = $this->getItems(2);
$menu = array(
    'id'=>'nav',
    'activeCssClass'=>'selected',
    'linkOptions'=>array('class'=>'topNav'),
    'items'=>$items
);
$this->widget('zii.widgets.CMenu', $menu);*/?>
